<?php
/**
 * <https://y.st./>
 * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'I missed my dental appointment!',
	'<{body}>' => <<<END
<section id="general">
	<h2>General news</h2>
	<p>
		It turns out <code>sticky</code> isn&apos;t a valid value for the <code>position</code> property; the $a[CSS] specification seems to have no option for what I was trying to do with the upper navigation menu of this website.
		I&apos;ve set the menu back to how it was originally.
		<del>Unfortunately, this journal entry will be redacted for the next five years, so anyone reading my journal will see I set the upper navigation menu to stick, but not that I changed it back.</del>
		<ins>Scratch that.
		The assignments this week are self-contained, and won&apos;t need to be in nay way stored in my journal.
		As such, no redacted journal pages will be necessary.</ins>
	</p>
	<p>
		I&apos;ve also finally set up the weblog index page to break up the Unicode calendars by year.
		The main reason I&apos;ve been putting this off is the technical difficulty in pulling it off correctly.
		I needed to be able to set the number of calendar pages on each line to either one, two, three, four, six, or twelve based on viewport width.
		Any other number just looks ... unprofessional and sloppy.
		I found a way to pull it off using the <code>@media</code> syntax in $a[CSS], though there&apos;s a bit of a snag.
		Firefox stupidly treats the area taken up by the window scrollbar as somehow being a part of the viewport, causing the page to be slightly too wide at certain window widths.
		The only solution for this I can think of is a bit hacky.
		I&apos;ve added an extra <code>rem</code> of width to the cut-off widths.
		Web browsers that act correctly will therefore add unnecessary padding to the cut-off points, but at least Web browsers that incorrectly treat the scrollbar as part of the viewport will display the page reasonably as long as the scrollbar is <code>1rem</code> in width or thinner.
	</p>
	<p>
		I took a look at my scheduled dental appointment time to make sure I&apos;d arrive on time tomorrow morning, and found I&apos;d missed my appointment already.
		It was <strong>*today*</strong>!
		Ugh.
		I was looking for something to do this morning anyway.
		I had free time!
		Tomorrow&apos;s a worse day for a dental appointment, as I&apos;ll have coursework.
		I&apos;d even thought to myself several times this week that if the appointment could be just a day sooner, I&apos;d be happier.
		And now I&apos;ll not only have to reschedule my appointment, but I&apos;ll also have to pay their missed appointment fee.
		Joy.
		I forget how much the fee is, too.
		I think dealing with the school&apos;s garbage has me not thinking straight.
		It doesn&apos;t help either that during the course of my discussion with the receptionist, the appointment time was changed.
		The original appointment was tomorrow.
		It also doesn&apos;t help that I&apos;m still not feeling quite right.
		Honestly, I&apos;m at a loss as to what the problem there might be.
	</p>
</section>
<section id="university">
	<h2>University life</h2>
	<p>
		School is back in session.
	</p>
</section>
END
);
